package com.example.demo.service.Impl;

import com.example.demo.mapper.PassengerFlowMapper;
import com.example.demo.pojo.PassengerFlow;
import com.example.demo.service.PassengerFlowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Project:demo
 * @Description:
 * @Author: Mr.Hunter
 * @Date:2023/5/25/19:33
 */
@Service
public class PassengerFlowServiceImpl implements PassengerFlowService {
    @Autowired
    private PassengerFlowMapper passengerFlowMapper;

    @Override
    public List<PassengerFlow> selectAllByDateAndShopID(String workDate, Integer shopID) {
        return passengerFlowMapper.selectAllByDateAndShopID(workDate, shopID);
    }
}